Session 4

Author

Brooke Williams, Caitie Kuemple

Published

June 14, 2025

Abstract

In this session we are using the prioritizr package to create a set of conservation scenarios for protecting the future distribution of koalas in the SEQ region.

Resources

Step-by-step walkthrough can be found here https://docs.google.com/document/d/15le0kx3n-C6hevoJ7zWs-kxWQd1YlW6joY3pRtJU4Ds/edit?tab=t.0#heading=h.9tqqmwld3mgr.

Download a PDF of the walkthrough

Optimiser installation

The prioritizr package requires that you download and install an optimiser - a commonly used one is Gurobi. You can obtain a free academic license for Gurobi here: https://www.gurobi.com/features/academic-named-user-license/.

Here is a guide to install Gurobi for R: https://docs.gurobi.com/projects/optimizer/en/current/reference/r/setup.html.

Alternatively, if you cannot obtain an academic licence there are other solvers available https://prioritizr.net/reference/solvers.html. We recommend installing the CBC solver: https://github.com/dirkschumacher/rcbc.

If you have issues with installing a solver, please let us know.

Back to top